package com.tianpengtech.common.model.fairsalary;

import com.tianpengtech.common.model.AbstractBaseModel;

/**
 * 实体类名-用户账户表 fair_user_salary
 *
 * @since Mon Dec 04 16:30:14 HKT 2017
 */
public class FairSalary extends AbstractBaseModel<FairSalary> {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;
	public static final FairSalary dao = new FairSalary();

	public static final String ID = "id"; //
	public static final String USER_ID = "user_id"; // 充值用户id
	public static final String SALARY = "salary"; // 账户余额信息

	
	public String fee(){
		double v= getDouble(SALARY);
		if(v==0){
			return "￥0";
		}
		return "￥"+(v/100);
	}
	@Override
	public String tableName() {
		return "fair_user_salary";
	}

}